package Action;

import Fly.Web.Action.Handler;

public class index extends Handler {
    public Object obj;
    public int currentFolderId;
    
    @Override
    public void Handle() {
        currentFolderId = 0;
        try {
            currentFolderId = Integer.parseInt(this.getParameter(0));
        } catch (NumberFormatException ex)  {
            
        }
        if (this.getSession("loginId") == null)   {
            this.Redirect("/login");
            return;
        }
        this.setTemplate("/html/index.html");
    }
}